#pragma once

#include "dbcDefine.h"
#include "IDatabase.h"
#include "IResultSet.h"

#include <string>
using std::string;

LIBDBC_BEGIN_NAMESPACE

class LIBDBC_API IDatabaseConnManage
{
public:
	IDatabaseConnManage() {};
	virtual ~IDatabaseConnManage() {};


	virtual bool setConnection(string key, string dbms, string host, string database, string user, string pwd) { return false; }
	virtual IDatabase* getOpenConnectionHandle(string key) { return NULL; }
	virtual void markConnectionHandleUnused(string key) { }
	virtual bool hasConnection(string key) { return false; }
	virtual bool removeConnection(string key) { return false; }

};


LIBDBC_END_NAMESPACE